package com.attendance.model;

/**
 * Created by OPTIPLEX on 2016/12/14.
 */
public enum ApplyState {
    /** 审批状态,0未审批，1部门经理，2副经理，3总经理，4,驳回，5通过 */

    UNSUBMITTED(0), DEPT_MGR_PENDING(1), VP_PENDING(2), PRESIDENT_PENDING(3), REJECTED(4), APPROVED(5);

    private Integer state = 0;

    private ApplyState(Integer state) {    //    必须是private的，否则编译错误
        this.state = state;
    }
    public Integer getValue(){
        return this.state;
    }



}
